﻿@model List<MiniScrum.Models.ScrumSummary>
@{
    ViewBag.Title = "List";
}
<h2>
    Scrum Report</h2>
@foreach (var report in Model)
{
    <div class="reportItem">
        <h2>
            User: @report.UserInformation.Value
        </h2>
        <h3>
            Completed Tasks</h3>
        <ul id="completedtasks">
            @if (report.CompletedTasks != null)
            {
                foreach (var task in report.CompletedTasks)
                {
                <li>@task.Value</li>
                }
            }
        </ul>
        <h3>
            Pending Tasks</h3>
        <ul id="pendingtasks">
            @if (report.PendingTasks != null)
            {
                foreach (var task in report.PendingTasks)
                {
                <li>@task.Value</li>
                }
            }
        </ul>
        <h3>
            Blockers</h3>
        <ul id="pendingtasks">
            @if (report.Blockers != null)
            {
                foreach (var block in report.Blockers)
                {
                <li>@block.Value</li>
                }
            }
        </ul>
    </div>
}
